package ca.etsmtl.log210.controleurs;
import ca.etsmtl.log210.exceptions.ClientUnknownException;
import ca.etsmtl.log210.modeles.*;

public class CommandAuthentifier implements Commande {
	
	//Attributs
	String username;
	String password;
	CarnetClient carnet;
	
	public CommandAuthentifier(String u, String p){
		
		username = u;
		password = p;
		
	}
	
	public boolean execute() throws ClientUnknownException{
		
		carnet = CarnetClient.getCarnetClient();
		carnet.authetifier(username, password);
			return true;
		
	}
}
